package edu.wust;

import java.math.BigInteger;
import java.util.HashSet;
import java.util.Set;
public class exam29 {


    public static void main(String[] args) {
        Set set=new HashSet();
        BigInteger n=new BigInteger("100");
        for(BigInteger i=new BigInteger("2");i.compareTo(n)<=0;i=i.add(BigInteger.ONE)){
            BigInteger x=i;
            BigInteger y=i;
            for(int j=2;j<=100;j++){
                x=x.multiply(y);
                set.add(x);
            }
        }
        System.out.println(set.size());

    }
}

